package com.bz.controller;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.bz.model.BusinessScopeDto;
import com.bz.service.IBusinessScopeService;

@RestController
@RequestMapping(value = "/api/business-scope")
public class BusinessScopeController {

    @Autowired
    private IBusinessScopeService businessScopeService;

    @RequestMapping(value = "/list")
    public List<BusinessScopeDto> list() {

        return businessScopeService.list();
    }
}
